#ifndef WORKERWIDGET_H
#define WORKERWIDGET_H

#include <QWidget>
#include <QThread>
#include <QProgressBar>
#include <QTimer>

#include "worker.h"

class WorkerWidget : public QWidget
{
	Q_OBJECT
public:
	explicit WorkerWidget(QWidget *parent = 0);
	~WorkerWidget();

private:
	QProgressBar mStatus;
	Worker mWorker;
	QThread mWorkerThread;
	QTimer mRefreshTimer;
};

#endif // WORKERWIDGET_H
